// 客户端-获取可用的服务提供商
export async function getProvider(service) {
  return uni.getProvider({ service: service })
}

export async function login(provider) {
  const loginOptions = {
    provider: provider || 'univerify',
  }
  return await uni.login(loginOptions)
}
